POV-Ray : Newsgroups : povray.general : Oblique projection : Oblique projection Server Time
31 Jul 2024 02:30:38 EDT (-0400)
  Oblique projection  
From: SharkD
Date: 2 Jan 2008 01:15:00
Message: <web.477b2ad4a3477974ea6fcf450@news.povray.org>
How do I achieve oblique projection using POV-Ray? I've tried messing around
with the up and right vectors, but have achieved mixed results. Compare the
following two blocks of code:

camera
{
 location -z*(CameraDistance)
 look_at 0
 direction z*(CameraDistance)
 up y*5/2
 right x*5/2
 rotate <asind(tand(30)),45,0>
}

camera
{
 location -z*(CameraDistance)
 look_at 0
 direction z*(CameraDistance)
 up vnormalize(y-z)*5/2
 right x*5/2
 rotate <asind(tand(30)),45,0>
}

The latter results in no difference. Am I on the right track by messing with the
up and right vectors?

-Mike


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.